package com.sinosoft.cloud.access.codec;

/**
 * cloud-netty
 *
 * @title: cloud-netty
 * @package: com.sinosoft.cloud.access.codec
 * @author: yangming
 * @date: 2017/12/2 下午2:38
 */
public interface Decoder {
    Integer getHeadSize(String msg);

    Integer getBodySize(String msg);

    String encoder(String msg);
}
